package com.jdk21.core.config;

import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;

@Slf4j
@Configuration
@EnableScheduling
public class ScheduleTask {

    @Scheduled(cron = "0 0 0 * * ?")
    private void scheduleTasks() {
        log.info("scheduleTasks....");
    }


}
